package com.travel.modules.asset.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.modules.asset.dto.ParentScenicArea;
import com.travel.modules.asset.entity.ScenicArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.travel.modules.asset.entity.ScenicArea
 */
@Mapper
public interface ScenicAreaDao extends BaseMapper<ScenicArea> {
    List<ScenicArea> getHotScenicAreas();

    List<ScenicArea> ftQueryAreas(String[] keywords);

    List<ScenicArea> getAllScenicArea(Map<String, Object> params);

    List<ParentScenicArea> getParentArea();

    ScenicArea getOneScenicArea(@Param("areaId") String areaId);
}